home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 23 / AMIGAplus Sonderheft 23 (2000)(Falke)(DE)[!].iso / Updates / Datatypes / RGFX-DT35 / RGFX-DT35.readme < prev    next >
Text File  |  1999-11-14  |  2KB  |  77 lines

  1. Short:    Datatype for IFF-RGFX-Format (44.0)
  2. Uploader: astegema@ix.urz.uni-heidelberg.de (Achim Stegemann)
  3. Author:   astegema@ix.urz.uni-heidelberg.de (Achim Stegemann)
  4. Type:     util/dtype
  5. Version:  44.0
  6.  
  7. Requires minimum:
  8.  * OS 3.5 !!
  9.  * xpkmaster.library V5
  10.  
  11. ##########################################################
  12.  
  13. NOTE:
  14. This IFF-RGFX datatype is for OS 3.5 only !!
  15. Download util/dtype/RGFX-DT.lha under OS 3.0 or OS 3.1 !!
  16.  
  17. ##########################################################
  18.  
  19. With the help of the rgfx.datatype, your datatype sytem is able to read images
  20. coded in the new IFF-RGFX-Format created by Andreas Kleinert.
  21.  
  22. This archive is freeware !
  23. Do with it what you want, as long as you do not remove any files from this archive !
  24.  
  25. The archive also contains the utility 'DT2RGFX'. This converts a datatype picture
  26. to the new IFF-RGFX-Format !
  27.  
  28. The datatype supports the DTM_WRITE-RAW method, to save in own format.
  29.  
  30. Internet: http://www.rzuser.uni-heidelberg.de/~astegema
  31.  
  32.  
  33. Important note about the source code:
  34. *************************************
  35.  
  36. The source has been written in C++ using Maxon-C++ V3.
  37. You will find several instructions a bit strange as I have converted all C-style OS-structures
  38. to C++ OS-structures.
  39. E.g.
  40.  
  41. struct Library
  42. {
  43. struct Node lib_Node;
  44. UBYTE lib_Flags;
  45. UBYTE lib_pad;
  46. UWORD lib_NegSize;
  47. UWORD lib_PosSize;
  48. UWORD lib_Version;
  49. UWORD lib_Revision;
  50. APTR lib_IdString;
  51. ULONG lib_Sum;
  52. UWORD lib_OpenCnt;
  53. };
  54.  
  55. has been converted to
  56.  
  57. struct Library:Node // !!!!!
  58. {
  59. UBYTE lib_Flags;
  60. UBYTE lib_pad;
  61. UWORD lib_NegSize;
  62. UWORD lib_PosSize;
  63. UWORD lib_Version;
  64. UWORD lib_Revision;
  65. APTR lib_IdString;
  66. ULONG lib_Sum;
  67. UWORD lib_OpenCnt;
  68. };
  69.  
  70. This simplifies the code as I don't always need to cast variables to fit arguments
  71. in functions.
  72. Additionally C++ allows to leave away the 'struct' keyword !
  73.  
  74. If you like to recompile the source-code for your compiler, you need to adjust the
  75. source-code to C. But this should be no problem.
  76.  
  77.